/* Modern CSS Reset (safe defaults) */

/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins */
* {
  margin: 0;
}

/* Set core body defaults */
html, body, #root {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Improve text wrapping for long words/URLs */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Remove list styles (use role=list for semantic lists you want unstyled) */
ul[role='list'], ol[role='list'] {
  list-style: none;
}

/* Anchor defaults */
a {
  text-decoration: none;
  color: inherit;
}

/* Images and media */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Form elements inherit fonts */
input, button, textarea, select {
  font: inherit;
}

/* Prefer reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}